import $axios from '../utils/request';                    //5

//产品分类
export function getKindList() {
    return $axios.get("pro/categorylist")
}

//产品分类的列表
export function getKindListAll(params) {
    return $axios.get("pro/categorybrandlist", { params })
}

//搜索列表
export function getSearchKindList(params) {
    return $axios.get("pro/search", { params })
}

//热门搜索
export function getSearchHot(params) {
    return $axios.get("pro/hotword", { params })
}

//获取分类下的品牌
export function getBranch(params) {
    return $axios.get("pro/categorybrandprolist", { params })
}